package com.xiaoxx.model.entity.coin;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.xiaoxx.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author HX
 * @since 2024-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_binance_exchangeinfo")
@ApiModel(value="BinanceExchangeinfo对象", description="")
public class BinanceExchangeinfo  implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "交易对")
    @TableField("symbol")
    private String symbol;

    @ApiModelProperty(value = "标的交易对")
    @TableField("pair")
    private String pair;

    @ApiModelProperty(value = "合约类型")
    @TableField("contract_type")
    private String contractType;

    @ApiModelProperty(value = "价格精度")
    @TableField("price_precision")
    private Integer pricePrecision;

    @ApiModelProperty(value = "数量精度")
    @TableField("quantity_precision")
    private Integer quantityPrecision;


    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUser;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @Version
    private Integer version;

}
